package org.nf166.ums.service.impl;

import org.nf166.ums.dao.UserDao;
import org.nf166.ums.dao.impl.UserDaoImpl;
import org.nf166.ums.entity.User;
import org.nf166.ums.service.UserService;

public class UserServiceImpl implements UserService {

    @Override
    public void register(User user) {
        System.out.println("实现注册业务的相关操作。。。。。");
        UserDao userDao = new UserDaoImpl();
        userDao.add(user);
    }
}
